package one.stand.request;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 优惠券领取
 */
@Data
public class CouponRequest extends BaseRequest {

    /**
     * 发放优惠券id
     */
    @ApiModelProperty(value = "发放优惠券id",required = true)
    @NotNull(message = "优惠券不能为空")
    private Long couponId;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户",required = true)
    @NotNull(message = "用户不能为空")
    private Integer userId;

    @ApiModelProperty(value = "公司",required = true)
    @NotNull(message = "公司不能为空")
    private Long companyId;

}
